package com.example.zhu.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class AddressBook {

    /**
     * 是否为默认地址 0不是 1是
     */
    public static final Integer NO_DEFAULT = 0;
    public static final Integer IS_DEFAULT = 1;

    //主键
    private Long id;

    //地址
    private String address;

    //用户openid
    private String openid;

    //电话
    private String phone;


    //是否为默认地址
    private Integer isDefault;

}
